package com.dinglit.service.impl;

import com.dinglit.dao.PersonDao;
import com.dinglit.domian.Person;
import com.dinglit.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by liuhuanchao on 2018/8/5.
 */
public class PersonServiceImpl implements PersonService {


    private PersonDao personDao;

    @Override
    public int addPerson(Person person) {
        return personDao.addPerson(person);
    }
}
